Can't rename a file if the target exists on Win32. First rename the target
authorTor Lillqvist <tml@novell.com>
Sun, 6 Nov 2005 06:27:01 +0000 (06:27 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 6 Nov 2005 06:27:01 +0000 (06:27 +0000)
commit30edb631342d826c4e4221aaa982d4ed3187a1b3
treee52f992623333da128ab569be254d3622d2f42c6
parentbd9e367de7faaee29d326a7a7c4a8eaf99f79d64
Can't rename a file if the target exists on Win32. First rename the target

2005-11-06  Tor Lillqvist  <tml@novell.com>

* gtk/updateiconcache.c (build_cache): Can't rename a file if the
target exists on Win32. First rename the target temporarily, then
if the renaming of the source to target fails, restore the
original name for the target.

* gtk/Makefile.am: Use EXEEXT in the dependency on gtk-update-icon-cache.
ChangeLog
ChangeLog.pre-2-10
gtk/Makefile.am
gtk/updateiconcache.c